package com.windowes.weichang.dao;

import com.windowes.weichang.pojo.WDistrict;

import java.util.List;

public interface WDistrictMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(WDistrict record);

    int insertSelective(WDistrict record);

    WDistrict selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(WDistrict record);

    int updateByPrimaryKey(WDistrict record);

    List<WDistrict> selectByParentId(Integer parentId);

    List<WDistrict> selectAll();

    String selectByCityIds(String[] cityIds);

    List<WDistrict> selectNotIn(List<Integer> list);

    List<WDistrict> selectByLevel(int level);

    WDistrict selectByName(WDistrict district);

    List<WDistrict> selectByLikeName(WDistrict district);
}